package com.base2.webshop.server.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = Product.PRODUCT_TABLE)
public class Product extends EntityBase {

	public static final String PRODUCT_TABLE = "product";
	private String productName;
	private String productDescription;
	private String productPrice;
	private String productQuantity;
	private String productImage;
	private String productAddedDate;

	@Column(name = "name")
	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	@Column(name = "description")
	public String getProductDescription() {
		return productDescription;
	}

	public void setProductDescription(String productDescription) {
		this.productDescription = productDescription;
	}

	@Column(name = "price")
	public String getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(String productPrice) {
		this.productPrice = productPrice;
	}

	@Column(name = "quantity")
	public String getProductQuantity() {
		return productQuantity;
	}

	public void setProductQuantity(String productQuantity) {
		this.productQuantity = productQuantity;
	}

	@Column(name = "image")
	public String getProductImage() {
		return productImage;
	}

	public void setProductImage(String productImage) {
		this.productImage = productImage;
	}

	@Column(name = "added_date")
	public String getProductAddedDate() {
		return productAddedDate;
	}

	public void setProductAddedDate(String productAddedDate) {
		this.productAddedDate = productAddedDate;
	}
}
